package net.zjitc.service;

import net.zjitc.domain.User;

import java.sql.SQLException;
import java.util.List;

/**
 * 2 * @Author: 洪瑶
 * 3 * @Date: 2018/10/8 18:39
 * 4
 */
public interface UserService {
    List<User> findAll() throws SQLException;
    void delete(int id) throws SQLException;
    User login(String name,String psw) throws SQLException;
    Boolean sqlregister(User user) throws SQLException;
}
